package com.luxk.db.block;

import com.luxk.db.common.Dumpable;

public abstract class AbstractBlock implements Dumpable {
	
	protected byte[] buffer = null;
	
	public void init(int size) {
		this.buffer = new byte[size];
	}
	
	public abstract void load(byte[] b, int offset, int size);
	
	public byte[] getBuffer() {
		return this.buffer;
	}

}
